<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<div th:fragment="form" th:remove="tag">
    <form action="" method="get">
        日期范围：
        <input type="text" name="starttime" th:value="${#httpServletRequest.getParameter('starttime')}"  onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}' })" id="datemin" class="input-text Wdate" style="width:120px;"/>
        -
        <input type="text" name="endtime" th:value="${#httpServletRequest.getParameter('endtime')}" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'datemin\')}',maxDate:'%y-%M-%d' })" id="datemax" class="input-text Wdate" style="width:120px;"/>
        <input type="text" class="input-text" style="width:250px" placeholder="输入名称"  th:value="${#httpServletRequest.getParameter('name')}" id="" name="name"/>
        <button type="submit" class="btn btn-success" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    </form>
</div>
<div th:fragment="th" th:remove="tag">
    <th width="25"><input type="checkbox" name="" value=""/></th>
    <th width="150">名称</th>
    <th width="100">路径</th>
    <th width="90">是否验证</th>
    <th width="90">备注</th>
    <th width="130">加入时间</th>
    <th width="100">是否已启用</th>

</div>

<div th:fragment="td(item)" th:remove="tag">
    <td><input type="checkbox" class="ids" value="1" name="id" th:value="${item.id}" /></td>
    <td th:text="${item.name}">admin</td>
    <td th:text="${item.mapping}">admin</td>
    <td th:text="${item.isroot}?'是':'否'" >备注</td>
    <td th:text="${item.note}">备注</td>
    <td th:text="${#calendars.format(item.createTime,'yyyy-MM-dd HH:mm:ss')}">2014-6-11 11:11:42</td>
    <td  class="td-status"><span th:class="${item.status}?'label   radius label-success':'label   radius label-error'" th:text="${item.status}?'已启用':'已禁用'">***</span></td>

</div>
</html>

